/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * FramePrincipal.java
 *
 * Created on 25/03/2010, 10:10:04 PM
 */

package vista;

import javax.swing.SwingUtilities;
import javax.swing.UIManager;

/**
 *
 * @author Carlos
 */
public class FramePrincipal extends javax.swing.JFrame {

    /** Creates new form FramePrincipal */
    public FramePrincipal() {
        try {
            UIManager.setLookAndFeel(UIManager.getInstalledLookAndFeels()[1].getClassName());
            SwingUtilities.updateComponentTreeUI(this);
        } catch (Exception ex) {
            System.out.println("Error Lock and Feel");
        }
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        panelPrincipalP = new javax.swing.JPanel();
        tituloL = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        getContentPane().setLayout(new java.awt.GridLayout());

        tituloL.setFont(new java.awt.Font("Corbel", 1, 36)); // NOI18N
        tituloL.setText("Ahorcaditosqui");

        javax.swing.GroupLayout panelPrincipalPLayout = new javax.swing.GroupLayout(panelPrincipalP);
        panelPrincipalP.setLayout(panelPrincipalPLayout);
        panelPrincipalPLayout.setHorizontalGroup(
            panelPrincipalPLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelPrincipalPLayout.createSequentialGroup()
                .addGap(81, 81, 81)
                .addComponent(tituloL)
                .addContainerGap(84, Short.MAX_VALUE))
        );
        panelPrincipalPLayout.setVerticalGroup(
            panelPrincipalPLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelPrincipalPLayout.createSequentialGroup()
                .addGap(19, 19, 19)
                .addComponent(tituloL)
                .addContainerGap(237, Short.MAX_VALUE))
        );

        getContentPane().add(panelPrincipalP);

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new FramePrincipal().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JPanel panelPrincipalP;
    private javax.swing.JLabel tituloL;
    // End of variables declaration//GEN-END:variables

}
